package org.gl.training.planner.dao;

import javax.ejb.Local;

import org.gl.training.planner.model.Task;

/**
 * 
 * DAO class to work with Task
 * 
 */
@Local
public interface TaskDao {

	/**
	 * Delete task from DB
	 * 
	 * @param task
	 * 
	 */
	public void delete(Task task);
	
	public void delete(Integer taskId);

	/**
	 * Save task to DB
	 * 
	 * @param task
	 */
	public void save(Task task);
}
